[INFO] cloning repository https://github.com/nbdd0121/klint
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nbdd0121/klint" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnbdd0121%2Fklint", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnbdd0121%2Fklint'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5315d55859c31d3fe94e8a11b3c070836060d37c
[INFO] checking nbdd0121/klint against try#d57d2d63e6f308d854fedbafd91d7721b7c651af for pr-110141
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnbdd0121%2Fklint" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/nbdd0121/klint on toolchain d57d2d63e6f308d854fedbafd91d7721b7c651af
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d57d2d63e6f308d854fedbafd91d7721b7c651af" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config
[INFO] removed /workspace/builds/worker-5-tc2/source/rust-toolchain
[INFO] started tweaking git repo https://github.com/nbdd0121/klint
[INFO] finished tweaking git repo https://github.com/nbdd0121/klint
[INFO] tweaked toml for git repo https://github.com/nbdd0121/klint written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/nbdd0121/klint already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d57d2d63e6f308d854fedbafd91d7721b7c651af" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:97d61d7686bf65f8ecb15491ab51835e82dc9176a96a831f143a431b191fc501" "/opt/rustwide/cargo-home/bin/cargo" "+d57d2d63e6f308d854fedbafd91d7721b7c651af" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b159892e6f87a8a6face9b58ae4e5d54479f2d05276862975b4ebdfcb0dd0e0f
[INFO] running `Command { std: "docker" "start" "-a" "b159892e6f87a8a6face9b58ae4e5d54479f2d05276862975b4ebdfcb0dd0e0f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b159892e6f87a8a6face9b58ae4e5d54479f2d05276862975b4ebdfcb0dd0e0f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b159892e6f87a8a6face9b58ae4e5d54479f2d05276862975b4ebdfcb0dd0e0f", kill_on_drop: false }`
[INFO] [stdout] b159892e6f87a8a6face9b58ae4e5d54479f2d05276862975b4ebdfcb0dd0e0f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:97d61d7686bf65f8ecb15491ab51835e82dc9176a96a831f143a431b191fc501" "/opt/rustwide/cargo-home/bin/cargo" "+d57d2d63e6f308d854fedbafd91d7721b7c651af" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3f610410a57437b77bc7ffef53cc50960723f6809918ffb4c17304fc4efed727
[INFO] running `Command { std: "docker" "start" "-a" "3f610410a57437b77bc7ffef53cc50960723f6809918ffb4c17304fc4efed727", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.137
[INFO] [stderr]    Compiling proc-macro2 v1.0.47
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]    Compiling unicode-ident v1.0.5
[INFO] [stderr]    Compiling syn v1.0.105
[INFO] [stderr]    Compiling serde_derive v1.0.149
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]     Checking once_cell v1.16.0
[INFO] [stderr]    Compiling serde v1.0.149
[INFO] [stderr]    Compiling pkg-config v0.3.26
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling anyhow v1.0.66
[INFO] [stderr]    Compiling serde_json v1.0.89
[INFO] [stderr]     Checking itoa v1.0.4
[INFO] [stderr]     Checking ryu v1.0.11
[INFO] [stderr]     Checking unicode-width v0.1.10
[INFO] [stderr]     Checking getopts v0.2.21
[INFO] [stderr]     Checking fallible-iterator v0.2.0
[INFO] [stderr]    Compiling compiletest_rs v0.9.0
[INFO] [stderr]     Checking regex-syntax v0.6.28
[INFO] [stderr]     Checking fallible-streaming-iterator v0.1.9
[INFO] [stderr]     Checking smallvec v1.10.0
[INFO] [stderr]     Checking home v0.5.4
[INFO] [stderr]     Checking diff v0.1.13
[INFO] [stderr]    Compiling libsqlite3-sys v0.25.2
[INFO] [stderr]     Checking aho-corasick v0.7.20
[INFO] [stderr]     Checking getrandom v0.2.8
[INFO] [stderr]     Checking dirs-sys-next v0.1.2
[INFO] [stderr]     Checking num_cpus v1.14.0
[INFO] [stderr]     Checking filetime v0.2.18
[INFO] [stderr]     Checking tempfile v3.3.0
[INFO] [stderr]     Checking dirs-next v2.0.0
[INFO] [stderr]     Checking ahash v0.7.6
[INFO] [stderr]     Checking term v0.7.0
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]     Checking tester v0.9.0
[INFO] [stderr]     Checking hashlink v0.8.1
[INFO] [stderr]     Checking rusqlite v0.28.0
[INFO] [stderr]     Checking regex v1.7.0
[INFO] [stderr]     Checking klint v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0463]: can't find crate for `rustc_ast`
[INFO] [stdout]   --> src/main.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | extern crate rustc_ast;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `rustc_data_structures`
[INFO] [stdout]   --> src/main.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | extern crate rustc_data_structures;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `rustc_driver`
[INFO] [stdout]   --> src/main.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | extern crate rustc_driver;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `rustc_errors`
[INFO] [stdout]   --> src/main.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | extern crate rustc_errors;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `rustc_hir`
[INFO] [stdout]   --> src/main.rs:15:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | extern crate rustc_hir;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `rustc_index`
[INFO] [stdout]   --> src/main.rs:16:1
[INFO] [stdout]    |
[INFO] [stdout] 16 | extern crate rustc_index;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `rustc_infer`
[INFO] [stdout]   --> src/main.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | extern crate rustc_infer;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `rustc_interface`
[INFO] [stdout]   --> src/main.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | extern crate rustc_interface;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `rustc_lint`
[INFO] [stdout]   --> src/main.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | extern crate rustc_lint;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `rustc_macros`
[INFO] [stdout]   --> src/main.rs:21:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | extern crate rustc_macros;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `rustc_middle`
[INFO] [stdout]   --> src/main.rs:23:1
[INFO] [stdout]    |
[INFO] [stdout] 23 | extern crate rustc_middle;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `rustc_mir_dataflow`
[INFO] [stdout]   --> src/main.rs:24:1
[INFO] [stdout]    |
[INFO] [stdout] 24 | extern crate rustc_mir_dataflow;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `rustc_monomorphize`
[INFO] [stdout]   --> src/main.rs:25:1
[INFO] [stdout]    |
[INFO] [stdout] 25 | extern crate rustc_monomorphize;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `rustc_serialize`
[INFO] [stdout]   --> src/main.rs:26:1
[INFO] [stdout]    |
[INFO] [stdout] 26 | extern crate rustc_serialize;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `rustc_session`
[INFO] [stdout]   --> src/main.rs:27:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | extern crate rustc_session;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `rustc_span`
[INFO] [stdout]   --> src/main.rs:28:1
[INFO] [stdout]    |
[INFO] [stdout] 28 | extern crate rustc_span;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `rustc_target`
[INFO] [stdout]   --> src/main.rs:29:1
[INFO] [stdout]    |
[INFO] [stdout] 29 | extern crate rustc_target;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `rustc_trait_selection`
[INFO] [stdout]   --> src/main.rs:30:1
[INFO] [stdout]    |
[INFO] [stdout] 30 | extern crate rustc_trait_selection;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `tracing`
[INFO] [stdout]   --> src/main.rs:33:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | extern crate tracing;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `bug` in this scope
[INFO] [stdout]     --> src/monomorphize_collector.rs:1176:14
[INFO] [stdout]      |
[INFO] [stdout] 1176 |         _ => bug!(),
[INFO] [stdout]      |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `bug` in this scope
[INFO] [stdout]     --> src/monomorphize_collector.rs:1000:26
[INFO] [stdout]      |
[INFO] [stdout] 1000 |                     _ => bug!(),
[INFO] [stdout]      |                          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `bug` in this scope
[INFO] [stdout]    --> src/monomorphize_collector.rs:908:14
[INFO] [stdout]     |
[INFO] [stdout] 908 |         _ => bug!(
[INFO] [stdout]     |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `bug` in this scope
[INFO] [stdout]    --> src/monomorphize_collector.rs:866:22
[INFO] [stdout]     |
[INFO] [stdout] 866 |                 _ => bug!("unexpected unsized tail: {:?}", tail),
[INFO] [stdout]     |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `span_bug` in this scope
[INFO] [stdout]    --> src/monomorphize_collector.rs:618:54
[INFO] [stdout]     |
[INFO] [stdout] 618 |                     Err(ErrorHandled::TooGeneric) => span_bug!(
[INFO] [stdout]     |                                                      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `span_bug` in this scope
[INFO] [stdout]    --> src/monomorphize_collector.rs:307:17
[INFO] [stdout]     |
[INFO] [stdout] 307 |                 span_bug!(
[INFO] [stdout]     |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `span_bug` in this scope
[INFO] [stdout]    --> src/monomorphize_collector.rs:302:29
[INFO] [stdout]     |
[INFO] [stdout] 302 | ...                   span_bug!(*op_sp, "invalid operand type for global_asm!")
[INFO] [stdout]     |                       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `info` in this scope
[INFO] [stdout]    --> src/serde.rs:314:25
[INFO] [stdout]     |
[INFO] [stdout] 314 |                         info!(
[INFO] [stdout]     |                         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Encodable` in this scope
[INFO] [stdout]   --> src/preempt_count/mod.rs:48:45
[INFO] [stdout]    |
[INFO] [stdout] 48 | #[derive(Clone, Copy, Debug, PartialEq, Eq, Encodable, Decodable)]
[INFO] [stdout]    |                                             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Decodable` in this scope
[INFO] [stdout]   --> src/preempt_count/mod.rs:48:56
[INFO] [stdout]    |
[INFO] [stdout] 48 | #[derive(Clone, Copy, Debug, PartialEq, Eq, Encodable, Decodable)]
[INFO] [stdout]    |                                                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Encodable` in this scope
[INFO] [stdout]   --> src/preempt_count/mod.rs:14:45
[INFO] [stdout]    |
[INFO] [stdout] 14 | #[derive(Clone, Copy, Debug, PartialEq, Eq, Encodable, Decodable)]
[INFO] [stdout]    |                                             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Decodable` in this scope
[INFO] [stdout]   --> src/preempt_count/mod.rs:14:56
[INFO] [stdout]    |
[INFO] [stdout] 14 | #[derive(Clone, Copy, Debug, PartialEq, Eq, Encodable, Decodable)]
[INFO] [stdout]    |                                                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `instrument` in this scope
[INFO] [stdout]     --> src/preempt_count/expectation.rs:1054:7
[INFO] [stdout]      |
[INFO] [stdout] 1054 |     #[instrument(skip(cx), fields(poly_instance = %PolyDisplay(&poly_instance)), ret)]
[INFO] [stdout]      |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `instrument` in this scope
[INFO] [stdout]    --> src/preempt_count/expectation.rs:899:7
[INFO] [stdout]     |
[INFO] [stdout] 899 |     #[instrument(skip(cx), fields(poly_instance = %PolyDisplay(&poly_instance)), ret)]
[INFO] [stdout]     |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `warn` in this scope
[INFO] [stdout]    --> src/preempt_count/expectation.rs:953:13
[INFO] [stdout]     |
[INFO] [stdout] 953 |             warn!(
[INFO] [stdout]     |             ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `warn` is in scope, but it is an attribute: `#[warn]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `info` in this scope
[INFO] [stdout]    --> src/preempt_count/expectation.rs:965:13
[INFO] [stdout]     |
[INFO] [stdout] 965 |             info!("expectation {} from annotation", exp);
[INFO] [stdout]     |             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `bug` in this scope
[INFO] [stdout]    --> src/preempt_count/expectation.rs:995:46
[INFO] [stdout]     |
[INFO] [stdout] 995 |                 (_, Err(Error::Error(_))) => bug!("recursive callee errors"),
[INFO] [stdout]     |                                              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `bug` in this scope
[INFO] [stdout]     --> src/preempt_count/expectation.rs:1000:36
[INFO] [stdout]      |
[INFO] [stdout] 1000 |                 (Ok(_), Err(_)) => bug!("recursive callee too generic but caller is not"),
[INFO] [stdout]      |                                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `bug` in this scope
[INFO] [stdout]     --> src/preempt_count/expectation.rs:1001:36
[INFO] [stdout]      |
[INFO] [stdout] 1001 |                 (Err(_), Ok(_)) => bug!("monormorphic caller too generic"),
[INFO] [stdout]      |                                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `instrument` in this scope
[INFO] [stdout]    --> src/preempt_count/expectation.rs:807:7
[INFO] [stdout]     |
[INFO] [stdout] 807 |     #[instrument(skip(cx), fields(poly_ty = %PolyDisplay(&poly_ty)), ret)]
[INFO] [stdout]     |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `instrument` in this scope
[INFO] [stdout]    --> src/preempt_count/expectation.rs:599:7
[INFO] [stdout]     |
[INFO] [stdout] 599 |     #[instrument(skip(cx), fields(poly_ty = %PolyDisplay(&poly_ty)), ret)]
[INFO] [stdout]     |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `info` in this scope
[INFO] [stdout]    --> src/preempt_count/expectation.rs:671:21
[INFO] [stdout]     |
[INFO] [stdout] 671 |                     info!("expectation {} from annotation", exp);
[INFO] [stdout]     |                     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `bug` in this scope
[INFO] [stdout]    --> src/preempt_count/expectation.rs:777:46
[INFO] [stdout]     |
[INFO] [stdout] 777 |                 (_, Err(Error::Error(_))) => bug!("recursive callee errors"),
[INFO] [stdout]     |                                              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `bug` in this scope
[INFO] [stdout]    --> src/preempt_count/expectation.rs:782:36
[INFO] [stdout]     |
[INFO] [stdout] 782 |                 (Ok(_), Err(_)) => bug!("recursive callee too generic but caller is not"),
[INFO] [stdout]     |                                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `bug` in this scope
[INFO] [stdout]    --> src/preempt_count/expectation.rs:783:36
[INFO] [stdout]     |
[INFO] [stdout] 783 |                 (Err(_), Ok(_)) => bug!("monormorphic caller too generic"),
[INFO] [stdout]     |                                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `instrument` in this scope
[INFO] [stdout]   --> src/preempt_count/expectation.rs:69:7
[INFO] [stdout]    |
[INFO] [stdout] 69 |     #[instrument(skip(self, param_env, body, diag), fields(instance = %PolyDisplay(&param_env.and(instance))), ret)]
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `instrument` in this scope
[INFO] [stdout]    --> src/preempt_count/check.rs:747:7
[INFO] [stdout]     |
[INFO] [stdout] 747 |     #[instrument(skip(cx), fields(poly_instance = %PolyDisplay(&poly_instance)), ret)]
[INFO] [stdout]     |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `instrument` in this scope
[INFO] [stdout]    --> src/preempt_count/check.rs:650:7
[INFO] [stdout]     |
[INFO] [stdout] 650 |     #[instrument(skip(cx), fields(poly_ty = %PolyDisplay(&poly_ty)), ret)]
[INFO] [stdout]     |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `instrument` in this scope
[INFO] [stdout]    --> src/preempt_count/check.rs:488:7
[INFO] [stdout]     |
[INFO] [stdout] 488 |     #[instrument(
[INFO] [stdout]     |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `instrument` in this scope
[INFO] [stdout]    --> src/preempt_count/check.rs:449:7
[INFO] [stdout]     |
[INFO] [stdout] 449 |     #[instrument(skip(cx), fields(poly_instance = %PolyDisplay(&poly_instance)), ret)]
[INFO] [stdout]     |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `bug` in this scope
[INFO] [stdout]    --> src/preempt_count/check.rs:310:58
[INFO] [stdout]     |
[INFO] [stdout] 310 |             | mir::TerminatorKind::FalseUnwind { .. } => bug!(),
[INFO] [stdout]     |                                                          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `bug` in this scope
[INFO] [stdout]    --> src/preempt_count/check.rs:177:26
[INFO] [stdout]     |
[INFO] [stdout] 177 |                     _ => bug!(),
[INFO] [stdout]     |                          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `bug` in this scope
[INFO] [stdout]   --> src/preempt_count/check.rs:35:77
[INFO] [stdout]    |
[INFO] [stdout] 35 |         let ty::Dynamic(ref target_trait_ref, ..) = target_ty.kind() else { bug!() };
[INFO] [stdout]    |                                                                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `bug` in this scope
[INFO] [stdout]   --> src/preempt_count/check.rs:34:77
[INFO] [stdout]    |
[INFO] [stdout] 34 |         let ty::Dynamic(ref source_trait_ref, ..) = source_ty.kind() else { bug!() };
[INFO] [stdout]    |                                                                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `warn` in this scope
[INFO] [stdout]   --> src/preempt_count/annotation.rs:15:17
[INFO] [stdout]    |
[INFO] [stdout] 15 |                 warn!(
[INFO] [stdout]    |                 ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `warn` is in scope, but it is an attribute: `#[warn]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `instrument` in this scope
[INFO] [stdout]    --> src/preempt_count/adjustment.rs:741:7
[INFO] [stdout]     |
[INFO] [stdout] 741 |     #[instrument(skip(cx), fields(poly_instance = %PolyDisplay(&poly_instance)), ret)]
[INFO] [stdout]     |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `instrument` in this scope
[INFO] [stdout]    --> src/preempt_count/adjustment.rs:600:7
[INFO] [stdout]     |
[INFO] [stdout] 600 |     #[instrument(skip(cx), fields(poly_instance = %PolyDisplay(&poly_instance)), ret)]
[INFO] [stdout]     |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `warn` in this scope
[INFO] [stdout]    --> src/preempt_count/adjustment.rs:652:13
[INFO] [stdout]     |
[INFO] [stdout] 652 |             warn!(
[INFO] [stdout]     |             ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `warn` is in scope, but it is an attribute: `#[warn]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `info` in this scope
[INFO] [stdout]    --> src/preempt_count/adjustment.rs:661:13
[INFO] [stdout]     |
[INFO] [stdout] 661 |             info!("adjustment {} from annotation", adj);
[INFO] [stdout]     |             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `bug` in this scope
[INFO] [stdout]    --> src/preempt_count/adjustment.rs:691:46
[INFO] [stdout]     |
[INFO] [stdout] 691 |                 (_, Err(Error::Error(_))) => bug!("recursive callee errors"),
[INFO] [stdout]     |                                              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `bug` in this scope
[INFO] [stdout]    --> src/preempt_count/adjustment.rs:696:36
[INFO] [stdout]     |
[INFO] [stdout] 696 |                 (Ok(_), Err(_)) => bug!("recursive callee too generic but caller is not"),
[INFO] [stdout]     |                                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `bug` in this scope
[INFO] [stdout]    --> src/preempt_count/adjustment.rs:697:36
[INFO] [stdout]     |
[INFO] [stdout] 697 |                 (Err(_), Ok(_)) => bug!("monormorphic caller too generic"),
[INFO] [stdout]     |                                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `instrument` in this scope
[INFO] [stdout]    --> src/preempt_count/adjustment.rs:510:7
[INFO] [stdout]     |
[INFO] [stdout] 510 |     #[instrument(skip(cx), fields(poly_ty = %PolyDisplay(&poly_ty)), ret)]
[INFO] [stdout]     |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `instrument` in this scope
[INFO] [stdout]    --> src/preempt_count/adjustment.rs:337:7
[INFO] [stdout]     |
[INFO] [stdout] 337 |     #[instrument(skip(cx), fields(poly_ty = %PolyDisplay(&poly_ty)), ret)]
[INFO] [stdout]     |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `info` in this scope
[INFO] [stdout]    --> src/preempt_count/adjustment.rs:394:21
[INFO] [stdout]     |
[INFO] [stdout] 394 |                     info!("adjustment {} from annotation", adj);
[INFO] [stdout]     |                     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `bug` in this scope
[INFO] [stdout]    --> src/preempt_count/adjustment.rs:484:46
[INFO] [stdout]     |
[INFO] [stdout] 484 |                 (_, Err(Error::Error(_))) => bug!("recursive callee errors"),
[INFO] [stdout]     |                                              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `bug` in this scope
[INFO] [stdout]    --> src/preempt_count/adjustment.rs:489:36
[INFO] [stdout]     |
[INFO] [stdout] 489 |                 (Ok(_), Err(_)) => bug!("recursive callee too generic but caller is not"),
[INFO] [stdout]     |                                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `bug` in this scope
[INFO] [stdout]    --> src/preempt_count/adjustment.rs:490:36
[INFO] [stdout]     |
[INFO] [stdout] 490 |                 (Err(_), Ok(_)) => bug!("monormorphic caller too generic"),
[INFO] [stdout]     |                                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `trace` in this scope
[INFO] [stdout]     --> src/monomorphize_collector.rs:1201:13
[INFO] [stdout]      |
[INFO] [stdout] 1201 |             trace!("collecting {:?} with {:#?}", alloc_id, fn_instance);
[INFO] [stdout]      |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `trace` in this scope
[INFO] [stdout]     --> src/monomorphize_collector.rs:1193:13
[INFO] [stdout]      |
[INFO] [stdout] 1193 |             trace!("collecting {:?} with {:#?}", alloc_id, alloc);
[INFO] [stdout]      |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `trace` in this scope
[INFO] [stdout]     --> src/monomorphize_collector.rs:1189:13
[INFO] [stdout]      |
[INFO] [stdout] 1189 |             trace!("collecting static {:?}", def_id);
[INFO] [stdout]      |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `debug` in this scope
[INFO] [stdout]     --> src/monomorphize_collector.rs:1136:13
[INFO] [stdout]      |
[INFO] [stdout] 1136 |             debug!(
[INFO] [stdout]      |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `debug` in this scope
[INFO] [stdout]     --> src/monomorphize_collector.rs:1066:13
[INFO] [stdout]      |
[INFO] [stdout] 1066 |             debug!("found root");
[INFO] [stdout]      |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `debug` in this scope
[INFO] [stdout]     --> src/monomorphize_collector.rs:1011:17
[INFO] [stdout]      |
[INFO] [stdout] 1011 |                 debug!(
[INFO] [stdout]      |                 ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `debug` in this scope
[INFO] [stdout]     --> src/monomorphize_collector.rs:1004:17
[INFO] [stdout]      |
[INFO] [stdout] 1004 |                 debug!(
[INFO] [stdout]      |                 ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `debug` in this scope
[INFO] [stdout]    --> src/monomorphize_collector.rs:986:33
[INFO] [stdout]     |
[INFO] [stdout] 986 | ...                   debug!(
[INFO] [stdout]     |                       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `bug` in this scope
[INFO] [stdout]    --> src/monomorphize_collector.rs:804:9
[INFO] [stdout]     |
[INFO] [stdout] 804 |         bug!("no MIR available for {:?}", def_id);
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `bug` in this scope
[INFO] [stdout]    --> src/monomorphize_collector.rs:750:17
[INFO] [stdout]     |
[INFO] [stdout] 750 |                 bug!("{:?} being reified", instance);
[INFO] [stdout]     |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `debug` in this scope
[INFO] [stdout]    --> src/monomorphize_collector.rs:742:5
[INFO] [stdout]     |
[INFO] [stdout] 742 |     debug!(
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `bug` in this scope
[INFO] [stdout]    --> src/monomorphize_collector.rs:685:58
[INFO] [stdout]     |
[INFO] [stdout] 685 |             | mir::TerminatorKind::FalseUnwind { .. } => bug!(),
[INFO] [stdout]     |                                                          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `trace` in this scope
[INFO] [stdout]    --> src/monomorphize_collector.rs:655:29
[INFO] [stdout]     |
[INFO] [stdout] 655 | ...                   trace!("collecting asm sym static {:?}", def_id);
[INFO] [stdout]     |                       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `debug` in this scope
[INFO] [stdout]    --> src/monomorphize_collector.rs:631:9
[INFO] [stdout]     |
[INFO] [stdout] 631 |         debug!("visiting terminator {:?} @ {:?}", terminator, location);
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `span_bug` in this scope
[INFO] [stdout]    --> src/monomorphize_collector.rs:603:58
[INFO] [stdout]     |
[INFO] [stdout] 603 |                         Err(ErrorHandled::TooGeneric) => span_bug!(
[INFO] [stdout]     |                                                          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `debug` in this scope
[INFO] [stdout]    --> src/monomorphize_collector.rs:597:21
[INFO] [stdout]     |
[INFO] [stdout] 597 |                     debug!(?ct);
[INFO] [stdout]     |                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `trace` in this scope
[INFO] [stdout]    --> src/monomorphize_collector.rs:578:17
[INFO] [stdout]     |
[INFO] [stdout] 578 |                 trace!("collecting thread-local static {:?}", def_id);
[INFO] [stdout]     |                 ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `bug` in this scope
[INFO] [stdout]    --> src/monomorphize_collector.rs:573:26
[INFO] [stdout]     |
[INFO] [stdout] 573 |                     _ => bug!(),
[INFO] [stdout]     |                          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `debug` in this scope
[INFO] [stdout]    --> src/monomorphize_collector.rs:507:9
[INFO] [stdout]     |
[INFO] [stdout] 507 |         debug!("visiting rvalue {:?}", *rvalue);
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `debug` in this scope
[INFO] [stdout]    --> src/monomorphize_collector.rs:496:9
[INFO] [stdout]     |
[INFO] [stdout] 496 |         debug!("monomorphize: self.instance={:?}", self.instance);
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `debug` in this scope
[INFO] [stdout]    --> src/monomorphize_collector.rs:453:5
[INFO] [stdout]     |
[INFO] [stdout] 453 |     debug!(" => type length={}", type_length);
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `debug` in this scope
[INFO] [stdout]    --> src/monomorphize_collector.rs:406:5
[INFO] [stdout]     |
[INFO] [stdout] 406 |     debug!(" => recursion depth={}", recursion_depth);
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `with_no_trimmed_paths`
[INFO] [stdout]    --> src/monomorphize_collector.rs:321:30
[INFO] [stdout]     |
[INFO] [stdout] 321 |         let formatted_item = with_no_trimmed_paths!(starting_point.node.to_string());
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `trace` in this scope
[INFO] [stdout]    --> src/monomorphize_collector.rs:295:29
[INFO] [stdout]     |
[INFO] [stdout] 295 | ...                   trace!("collecting static {:?}", def_id);
[INFO] [stdout]     |                       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `debug` in this scope
[INFO] [stdout]    --> src/monomorphize_collector.rs:161:9
[INFO] [stdout]     |
[INFO] [stdout] 161 |         debug!("collect_roots: entry_fn = {:?}", entry_fn);
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `debug` in this scope
[INFO] [stdout]    --> src/monomorphize_collector.rs:155:5
[INFO] [stdout]     |
[INFO] [stdout] 155 |     debug!("collecting roots");
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `debug` in this scope
[INFO] [stdout]    --> src/monomorphize_collector.rs:114:5
[INFO] [stdout]     |
[INFO] [stdout] 114 |     debug!("building mono item graph, beginning at roots");
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `bug` in this scope
[INFO] [stdout]   --> src/monomorphize_collector.rs:53:13
[INFO] [stdout]    |
[INFO] [stdout] 53 |             bug!("invalid `CoerceUnsized` impl_source: {:?}", impl_source);
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `instrument` in this scope
[INFO] [stdout]   --> src/mir/drop_shim.rs:29:3
[INFO] [stdout]    |
[INFO] [stdout] 29 | #[instrument(skip(cx))]
[INFO] [stdout]    |   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `declare_lint_pass`
[INFO] [stdout]   --> src/infallible_allocation.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | declare_lint_pass!(InfallibleAllocation => [INFALLIBLE_ALLOCATION]);
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `declare_tool_lint`
[INFO] [stdout]   --> src/infallible_allocation.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | declare_tool_lint! {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Encodable` in this scope
[INFO] [stdout]   --> src/attribute.rs:12:30
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[derive(Debug, Clone, Copy, Encodable, Decodable)]
[INFO] [stdout]    |                              ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Decodable` in this scope
[INFO] [stdout]   --> src/attribute.rs:12:41
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[derive(Debug, Clone, Copy, Encodable, Decodable)]
[INFO] [stdout]    |                                         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `bug` in this scope
[INFO] [stdout]    --> src/atomic_context.rs:371:21
[INFO] [stdout]     |
[INFO] [stdout] 371 |                     bug!("monomorphized function should not be too generic");
[INFO] [stdout]     |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `bug` in this scope
[INFO] [stdout]    --> src/atomic_context.rs:368:21
[INFO] [stdout]     |
[INFO] [stdout] 368 |                     bug!("monomorphized function should not be too generic");
[INFO] [stdout]     |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `impl_lint_pass`
[INFO] [stdout]    --> src/atomic_context.rs:228:1
[INFO] [stdout]     |
[INFO] [stdout] 228 | impl_lint_pass!(AtomicContext<'_> => [ATOMIC_CONTEXT]);
[INFO] [stdout]     | ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `warn` in this scope
[INFO] [stdout]    --> src/atomic_context.rs:209:17
[INFO] [stdout]     |
[INFO] [stdout] 209 |                 warn!("Unable to determine property for FFI function `{}`", symbol);
[INFO] [stdout]     |                 ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `warn` is in scope, but it is an attribute: `#[warn]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `declare_tool_lint`
[INFO] [stdout]   --> src/atomic_context.rs:59:1
[INFO] [stdout]    |
[INFO] [stdout] 59 | declare_tool_lint! {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `info` in this scope
[INFO] [stdout]    --> src/ctxt.rs:272:13
[INFO] [stdout]     |
[INFO] [stdout] 272 |             info!("klint called on a binary crate");
[INFO] [stdout]     |             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `warn` in this scope
[INFO] [stdout]    --> src/ctxt.rs:175:13
[INFO] [stdout]     |
[INFO] [stdout] 175 |             warn!(
[INFO] [stdout]     |             ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `warn` is in scope, but it is an attribute: `#[warn]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `info` in this scope
[INFO] [stdout]    --> src/ctxt.rs:163:21
[INFO] [stdout]     |
[INFO] [stdout] 163 |                     info!(
[INFO] [stdout]     |                     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ItemKind`
[INFO] [stdout]    --> src/atomic_context.rs:257:21
[INFO] [stdout]     |
[INFO] [stdout] 257 |                     ItemKind::Struct(..) | ItemKind::Union(..) | ItemKind::Enum(..) => {
[INFO] [stdout]     |                     ^^^^^^^^ use of undeclared type `ItemKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ItemKind`
[INFO] [stdout]    --> src/atomic_context.rs:257:44
[INFO] [stdout]     |
[INFO] [stdout] 257 |                     ItemKind::Struct(..) | ItemKind::Union(..) | ItemKind::Enum(..) => {
[INFO] [stdout]     |                                            ^^^^^^^^ use of undeclared type `ItemKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ItemKind`
[INFO] [stdout]    --> src/atomic_context.rs:257:66
[INFO] [stdout]     |
[INFO] [stdout] 257 |                     ItemKind::Struct(..) | ItemKind::Union(..) | ItemKind::Enum(..) => {
[INFO] [stdout]     |                                                                  ^^^^^^^^ use of undeclared type `ItemKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ItemKind`
[INFO] [stdout]    --> src/atomic_context.rs:260:21
[INFO] [stdout]     |
[INFO] [stdout] 260 |                     ItemKind::Trait(..) => {
[INFO] [stdout]     |                     ^^^^^^^^ use of undeclared type `ItemKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ForeignItemKind`
[INFO] [stdout]    --> src/atomic_context.rs:271:21
[INFO] [stdout]     |
[INFO] [stdout] 271 |                     ForeignItemKind::Fn(..) => {
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^ use of undeclared type `ForeignItemKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TraitItemKind`
[INFO] [stdout]    --> src/atomic_context.rs:281:21
[INFO] [stdout]     |
[INFO] [stdout] 281 |                     TraitItemKind::Fn(_, TraitFn::Required(_)) => {
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ use of undeclared type `TraitItemKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TraitFn`
[INFO] [stdout]    --> src/atomic_context.rs:281:42
[INFO] [stdout]     |
[INFO] [stdout] 281 |                     TraitItemKind::Fn(_, TraitFn::Required(_)) => {
[INFO] [stdout]     |                                          ^^^^^^^ use of undeclared type `TraitFn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TerminatorKind`
[INFO] [stdout]   --> src/mir/drop_shim.rs:60:9
[INFO] [stdout]    |
[INFO] [stdout] 60 |         TerminatorKind::Goto {
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TerminatorKind`
[INFO] [stdout]   --> src/mir/drop_shim.rs:64:24
[INFO] [stdout]    |
[INFO] [stdout] 64 |     block(&mut blocks, TerminatorKind::Return);
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ClearCrossCrate`
[INFO] [stdout]    --> src/mir/drop_shim.rs:117:29
[INFO] [stdout]     |
[INFO] [stdout] 117 |                 local_data: ClearCrossCrate::Clear,
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^ use of undeclared type `ClearCrossCrate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DropFlagMode`
[INFO] [stdout]    --> src/mir/drop_shim.rs:163:13
[INFO] [stdout]     |
[INFO] [stdout] 163 |             DropFlagMode::Shallow => {
[INFO] [stdout]     |             ^^^^^^^^^^^^ use of undeclared type `DropFlagMode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DropStyle`
[INFO] [stdout]    --> src/mir/drop_shim.rs:166:17
[INFO] [stdout]     |
[INFO] [stdout] 166 |                 DropStyle::Static
[INFO] [stdout]     |                 ^^^^^^^^^ use of undeclared type `DropStyle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DropFlagMode`
[INFO] [stdout]    --> src/mir/drop_shim.rs:168:13
[INFO] [stdout]     |
[INFO] [stdout] 168 |             DropFlagMode::Deep => {
[INFO] [stdout]     |             ^^^^^^^^^^^^ use of undeclared type `DropFlagMode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DropStyle`
[INFO] [stdout]    --> src/mir/drop_shim.rs:171:17
[INFO] [stdout]     |
[INFO] [stdout] 171 |                 DropStyle::Open
[INFO] [stdout]     |                 ^^^^^^^^^ use of undeclared type `DropStyle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]    --> src/atomic_context.rs:243:22
[INFO] [stdout]     |
[INFO] [stdout] 243 |             F: FnMut(HirId),
[INFO] [stdout]     |                      ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]    --> src/atomic_context.rs:244:22
[INFO] [stdout]     |
[INFO] [stdout] 244 |             A: FnMut(HirId),
[INFO] [stdout]     |                      ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Item` in this scope
[INFO] [stdout]    --> src/atomic_context.rs:255:47
[INFO] [stdout]     |
[INFO] [stdout] 255 |             fn visit_item(&mut self, i: &'tcx Item<'tcx>) {
[INFO] [stdout]     |                                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ForeignItem` in this scope
[INFO] [stdout]    --> src/atomic_context.rs:269:55
[INFO] [stdout]     |
[INFO] [stdout] 269 |             fn visit_foreign_item(&mut self, i: &'tcx ForeignItem<'tcx>) {
[INFO] [stdout]     |                                                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TraitItem` in this scope
[INFO] [stdout]    --> src/atomic_context.rs:279:54
[INFO] [stdout]     |
[INFO] [stdout] 279 |             fn visit_trait_item(&mut self, ti: &'tcx TraitItem<'tcx>) {
[INFO] [stdout]     |                                                      ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `FnDecl` in this scope
[INFO] [stdout]    --> src/atomic_context.rs:292:27
[INFO] [stdout]     |
[INFO] [stdout] 292 |                 fd: &'tcx FnDecl<'tcx>,
[INFO] [stdout]     |                           ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BodyId` in this scope
[INFO] [stdout]    --> src/atomic_context.rs:293:20
[INFO] [stdout]     |
[INFO] [stdout] 293 |                 b: BodyId,
[INFO] [stdout]     |                    ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]    --> src/atomic_context.rs:295:21
[INFO] [stdout]     |
[INFO] [stdout] 295 |                 id: HirId,
[INFO] [stdout]     |                     ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `INCORRECT_ATTRIBUTE` in the crate root
[INFO] [stdout]   --> src/attribute.rs:81:20
[INFO] [stdout]    |
[INFO] [stdout] 81 |             crate::INCORRECT_ATTRIBUTE,
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^ not found in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `INCORRECT_ATTRIBUTE` in the crate root
[INFO] [stdout]    --> src/attribute.rs:391:24
[INFO] [stdout]     |
[INFO] [stdout] 391 |                 crate::INCORRECT_ATTRIBUTE,
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^ not found in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `INCORRECT_ATTRIBUTE` in the crate root
[INFO] [stdout]    --> src/attribute.rs:412:28
[INFO] [stdout]     |
[INFO] [stdout] 412 |                     crate::INCORRECT_ATTRIBUTE,
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^ not found in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `InfallibleAllocation` in this scope
[INFO] [stdout]   --> src/infallible_allocation.rs:19:35
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl<'tcx> LateLintPass<'tcx> for InfallibleAllocation {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `INFALLIBLE_ALLOCATION` in this scope
[INFO] [stdout]    --> src/infallible_allocation.rs:170:26
[INFO] [stdout]     |
[INFO] [stdout] 170 |                         &INFALLIBLE_ALLOCATION,
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Local` in this scope
[INFO] [stdout]   --> src/mir/drop_shim.rs:19:15
[INFO] [stdout]    |
[INFO] [stdout] 19 | ) -> IndexVec<Local, LocalDecl<'tcx>> {
[INFO] [stdout]    |               ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn local_decls_for_sig<'tcx, Local>(
[INFO] [stdout]    |                            +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LocalDecl` in this scope
[INFO] [stdout]   --> src/mir/drop_shim.rs:19:22
[INFO] [stdout]    |
[INFO] [stdout] 19 | ) -> IndexVec<Local, LocalDecl<'tcx>> {
[INFO] [stdout]    |                      ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Body` in this scope
[INFO] [stdout]   --> src/mir/drop_shim.rs:35:6
[INFO] [stdout]    |
[INFO] [stdout] 35 | ) -> Body<'tcx> {
[INFO] [stdout]    |      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BasicBlock`
[INFO] [stdout]   --> src/mir/drop_shim.rs:49:24
[INFO] [stdout]    |
[INFO] [stdout] 49 |     let return_block = BasicBlock::new(1);
[INFO] [stdout]    |                        ^^^^^^^^^^ use of undeclared type `BasicBlock`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 4  | use core::intrinsics::mir::BasicBlock;
[INFO] [stdout]    |
[INFO] [stdout] 4  | use std::intrinsics::mir::BasicBlock;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BasicBlockData` in this scope
[INFO] [stdout]   --> src/mir/drop_shim.rs:52:21
[INFO] [stdout]    |
[INFO] [stdout] 52 |         blocks.push(BasicBlockData {
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Terminator` in this scope
[INFO] [stdout]   --> src/mir/drop_shim.rs:54:30
[INFO] [stdout]    |
[INFO] [stdout] 54 |             terminator: Some(Terminator { source_info, kind }),
[INFO] [stdout]    |                              ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `START_BLOCK` in this scope
[INFO] [stdout]   --> src/mir/drop_shim.rs:93:13
[INFO] [stdout]    |
[INFO] [stdout] 93 |             START_BLOCK,
[INFO] [stdout]    |             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MirSource` in this scope
[INFO] [stdout]    --> src/mir/drop_shim.rs:102:13
[INFO] [stdout]     |
[INFO] [stdout] 102 |     source: MirSource<'tcx>,
[INFO] [stdout]     |             ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope
[INFO] [stdout]    --> src/mir/drop_shim.rs:103:28
[INFO] [stdout]     |
[INFO] [stdout] 103 |     basic_blocks: IndexVec<BasicBlock, BasicBlockData<'tcx>>,
[INFO] [stdout]     |                            ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 4   | use core::intrinsics::mir::BasicBlock;
[INFO] [stdout]     |
[INFO] [stdout] 4   | use std::intrinsics::mir::BasicBlock;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BasicBlockData` in this scope
[INFO] [stdout]    --> src/mir/drop_shim.rs:103:40
[INFO] [stdout]     |
[INFO] [stdout] 103 |     basic_blocks: IndexVec<BasicBlock, BasicBlockData<'tcx>>,
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Local` in this scope
[INFO] [stdout]    --> src/mir/drop_shim.rs:104:27
[INFO] [stdout]     |
[INFO] [stdout] 104 |     local_decls: IndexVec<Local, LocalDecl<'tcx>>,
[INFO] [stdout]     |                           ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 101 | fn new_body<'tcx, Local>(
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LocalDecl` in this scope
[INFO] [stdout]    --> src/mir/drop_shim.rs:104:34
[INFO] [stdout]     |
[INFO] [stdout] 104 |     local_decls: IndexVec<Local, LocalDecl<'tcx>>,
[INFO] [stdout]     |                                  ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Body` in this scope
[INFO] [stdout]    --> src/mir/drop_shim.rs:107:6
[INFO] [stdout]     |
[INFO] [stdout] 107 | ) -> Body<'tcx> {
[INFO] [stdout]     |      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SourceScopeData` in this scope
[INFO] [stdout]    --> src/mir/drop_shim.rs:112:13
[INFO] [stdout]     |
[INFO] [stdout] 112 |             SourceScopeData {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Body` in this scope
[INFO] [stdout]    --> src/mir/drop_shim.rs:133:19
[INFO] [stdout]     |
[INFO] [stdout] 133 |     pub body: &'a Body<'tcx>,
[INFO] [stdout]     |                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `DropElaborator` in this scope
[INFO] [stdout]    --> src/mir/drop_shim.rs:145:16
[INFO] [stdout]     |
[INFO] [stdout] 145 | impl<'a, 'tcx> DropElaborator<'a, 'tcx> for DropShimElaborator<'a, 'tcx> {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Body` in this scope
[INFO] [stdout]    --> src/mir/drop_shim.rs:151:27
[INFO] [stdout]     |
[INFO] [stdout] 151 |     fn body(&self) -> &'a Body<'tcx> {
[INFO] [stdout]     |                           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DropFlagMode` in this scope
[INFO] [stdout]    --> src/mir/drop_shim.rs:161:51
[INFO] [stdout]     |
[INFO] [stdout] 161 |     fn drop_style(&self, _path: Self::Path, mode: DropFlagMode) -> DropStyle {
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DropStyle` in this scope
[INFO] [stdout]    --> src/mir/drop_shim.rs:161:68
[INFO] [stdout]     |
[INFO] [stdout] 161 |     fn drop_style(&self, _path: Self::Path, mode: DropFlagMode) -> DropStyle {
[INFO] [stdout]     |                                                                    ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Operand` in this scope
[INFO] [stdout]    --> src/mir/drop_shim.rs:176:62
[INFO] [stdout]     |
[INFO] [stdout] 176 |     fn get_drop_flag(&mut self, _path: Self::Path) -> Option<Operand<'tcx>> {
[INFO] [stdout]     |                                                              ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Location` in this scope
[INFO] [stdout]    --> src/mir/drop_shim.rs:180:46
[INFO] [stdout]     |
[INFO] [stdout] 180 |     fn clear_drop_flag(&mut self, _location: Location, _path: Self::Path, _mode: DropFlagMode) {}
[INFO] [stdout]     |                                              ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 4   | use core::panic::Location;
[INFO] [stdout]     |
[INFO] [stdout] 4   | use std::panic::Location;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DropFlagMode` in this scope
[INFO] [stdout]    --> src/mir/drop_shim.rs:180:82
[INFO] [stdout]     |
[INFO] [stdout] 180 |     fn clear_drop_flag(&mut self, _location: Location, _path: Self::Path, _mode: DropFlagMode) {}
[INFO] [stdout]     |                                                                                  ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Field` in this scope
[INFO] [stdout]    --> src/mir/drop_shim.rs:182:56
[INFO] [stdout]     |
[INFO] [stdout] 182 |     fn field_subpath(&self, _path: Self::Path, _field: Field) -> Option<Self::Path> {
[INFO] [stdout]     |                                                        ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `INCORRECT_ATTRIBUTE` in this scope
[INFO] [stdout]   --> src/main.rs:95:42
[INFO] [stdout]    |
[INFO] [stdout] 95 |             lint_store.register_lints(&[&INCORRECT_ATTRIBUTE]);
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `INFALLIBLE_ALLOCATION` in module `infallible_allocation`
[INFO] [stdout]   --> src/main.rs:96:65
[INFO] [stdout]    |
[INFO] [stdout] 96 |             lint_store.register_lints(&[&infallible_allocation::INFALLIBLE_ALLOCATION]);
[INFO] [stdout]    |                                                                 ^^^^^^^^^^^^^^^^^^^^^ not found in `infallible_allocation`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ATOMIC_CONTEXT` in module `atomic_context`
[INFO] [stdout]   --> src/main.rs:97:58
[INFO] [stdout]    |
[INFO] [stdout] 97 |             lint_store.register_lints(&[&atomic_context::ATOMIC_CONTEXT]);
[INFO] [stdout]    |                                                          ^^^^^^^^^^^^^^ not found in `atomic_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'lazy_cell'
[INFO] [stdout]  --> src/mir.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::sync::{LazyLock, Mutex};
[INFO] [stdout]   |                 ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #109736 <https://github.com/rust-lang/rust/issues/109736> for more information
[INFO] [stdout]   = help: add `#![feature(lazy_cell)]` to the crate attributes to enable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'lazy_cell'
[INFO] [stdout]   --> src/mir.rs:25:19
[INFO] [stdout]    |
[INFO] [stdout] 25 | static MIR_CACHE: LazyLock<Mutex<FxHashMap<LocalDefId, AtomicPtr<()>>>> =
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #109736 <https://github.com/rust-lang/rust/issues/109736> for more information
[INFO] [stdout]    = help: add `#![feature(lazy_cell)]` to the crate attributes to enable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'lazy_cell'
[INFO] [stdout]   --> src/mir.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     LazyLock::new(|| Mutex::new(FxHashMap::default()));
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #109736 <https://github.com/rust-lang/rust/issues/109736> for more information
[INFO] [stdout]    = help: add `#![feature(lazy_cell)]` to the crate attributes to enable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'lazy_cell'
[INFO] [stdout]  --> src/symbol.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::sync::LazyLock;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #109736 <https://github.com/rust-lang/rust/issues/109736> for more information
[INFO] [stdout]   = help: add `#![feature(lazy_cell)]` to the crate attributes to enable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'lazy_cell'
[INFO] [stdout]   --> src/symbol.rs:8:29
[INFO] [stdout]    |
[INFO] [stdout] 8  |           $(pub static $name: LazyLock<Symbol> = LazyLock::new(|| Symbol::intern(stringify!($name)));)*
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 | / def! {
[INFO] [stdout] 13 | |     klint,
[INFO] [stdout] 14 | |     preempt_count,
[INFO] [stdout] 15 | |     drop_preempt_count,
[INFO] [stdout] ...  |
[INFO] [stdout] 26 | |     wake_by_ref,
[INFO] [stdout] 27 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #109736 <https://github.com/rust-lang/rust/issues/109736> for more information
[INFO] [stdout]    = help: add `#![feature(lazy_cell)]` to the crate attributes to enable
[INFO] [stdout]    = note: this error originates in the macro `def` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'lazy_cell'
[INFO] [stdout]   --> src/symbol.rs:8:48
[INFO] [stdout]    |
[INFO] [stdout] 8  |           $(pub static $name: LazyLock<Symbol> = LazyLock::new(|| Symbol::intern(stringify!($name)));)*
[INFO] [stdout]    |                                                  ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 | / def! {
[INFO] [stdout] 13 | |     klint,
[INFO] [stdout] 14 | |     preempt_count,
[INFO] [stdout] 15 | |     drop_preempt_count,
[INFO] [stdout] ...  |
[INFO] [stdout] 26 | |     wake_by_ref,
[INFO] [stdout] 27 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #109736 <https://github.com/rust-lang/rust/issues/109736> for more information
[INFO] [stdout]    = help: add `#![feature(lazy_cell)]` to the crate attributes to enable
[INFO] [stdout]    = note: this error originates in the macro `def` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `once_cell` has been stable since 1.70.0-nightly and no longer requires an attribute to enable
[INFO] [stdout]  --> src/main.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(once_cell)]
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LocalDecl`
[INFO] [stdout]   --> src/mir/drop_shim.rs:20:16
[INFO] [stdout]    |
[INFO] [stdout] 20 |     iter::once(LocalDecl::new(sig.output(), span))
[INFO] [stdout]    |                ^^^^^^^^^ use of undeclared type `LocalDecl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LocalDecl`
[INFO] [stdout]   --> src/mir/drop_shim.rs:24:28
[INFO] [stdout]    |
[INFO] [stdout] 24 |                 .map(|ity| LocalDecl::new(*ity, span).immutable()),
[INFO] [stdout]    |                            ^^^^^^^^^ use of undeclared type `LocalDecl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SourceInfo`
[INFO] [stdout]   --> src/mir/drop_shim.rs:47:23
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let source_info = SourceInfo::outermost(span);
[INFO] [stdout]    |                       ^^^^^^^^^^ use of undeclared type `SourceInfo`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MirSource`
[INFO] [stdout]   --> src/mir/drop_shim.rs:66:18
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let source = MirSource::from_instance(ty::InstanceDef::DropGlue(def_id, Some(ty)));
[INFO] [stdout]    |                  ^^^^^^^^^ use of undeclared type `MirSource`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Place`
[INFO] [stdout]   --> src/mir/drop_shim.rs:76:22
[INFO] [stdout]    |
[INFO] [stdout] 76 |     let dropee_ptr = Place::from(Local::new(1 + 0));
[INFO] [stdout]    |                      ^^^^^ use of undeclared type `Place`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Local`
[INFO] [stdout]   --> src/mir/drop_shim.rs:76:34
[INFO] [stdout]    |
[INFO] [stdout] 76 |     let dropee_ptr = Place::from(Local::new(1 + 0));
[INFO] [stdout]    |                                  ^^^^^ use of undeclared type `Local`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Body`
[INFO] [stdout]    --> src/mir/drop_shim.rs:108:5
[INFO] [stdout]     |
[INFO] [stdout] 108 |     Body::new(
[INFO] [stdout]     |     ^^^^ use of undeclared type `Body`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 174 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0425, E0433, E0463, E0658.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `klint` (bin "klint") due to 175 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "3f610410a57437b77bc7ffef53cc50960723f6809918ffb4c17304fc4efed727", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3f610410a57437b77bc7ffef53cc50960723f6809918ffb4c17304fc4efed727", kill_on_drop: false }`
[INFO] [stdout] 3f610410a57437b77bc7ffef53cc50960723f6809918ffb4c17304fc4efed727
